﻿capital = 439


oob = "tabrasa_1936ENG"


set_grand_doctrine = grand_battleplan
set_grand_doctrine = new_fleet_in_being

recruit_character = RAJ_lord_linlithgow
recruit_character = RAJ_v_d_savarkar
recruit_character = RAJ_p_krishna_pillai
recruit_character = RAJ_b_p_sitaramayya
recruit_character = RAJ_noel_beresfordpeirse
recruit_character = RAJ_frank_messervy
recruit_character = RAJ_douglas_gracey
recruit_character = RAJ_herbert_fitzherbert
recruit_character = RAJ_w_h_gould_bradford
recruit_character = RAJ_william_e_parry
recruit_character = RAJ_mohan_singh
recruit_character = RAJ_mehar_singh
recruit_character = RAJ_reginald_savory
recruit_character = RAJ_bruce_w_mcpherson
recruit_character = RAJ_aspy_merwan_engineer
recruit_character = RAJ_arjan_singh_vibhusan
recruit_character = RAJ_subroto_mukherjee
recruit_character = RAJ_arthur_a_barrett
recruit_character = RAJ_bhaskar_soman
recruit_character = RAJ_rajendra_prasad
recruit_character = RAJ_ravindra_darshan_singh
recruit_character = RAJ_ram_dass_katari
recruit_character = RAJ_archibald_wavell
recruit_character = RAJ_louis_mountbatten
recruit_character = RAJ_kodandera_cariappa
recruit_character = RAJ_ram_singh_thakur
recruit_character = RAJ_bahadur_jayla_of_khoch_bahur
recruit_character = RAJ_anyang_bhula
recruit_character = RAJ_john_edward_golightly
recruit_character = RAJ_bhimrao_ramji_ambedkar
recruit_character = RAJ_chakravarti_rajagopalachari
recruit_character = RAJ_agha_khan_iii
recruit_character = RAJ_subhas_chanda_bose
recruit_character = RAJ_mahatma_mohandas_gandhi
recruit_character = RAJ_sir_mohammed_iqbal
recruit_character = RAJ_john_mathai

if = {
	limit = { has_dlc = "Graveyard of Empires" }

	recruit_character = RAJ_GOE_jawaharlal_nehru 
	recruit_character = RAJ_GOE_tara_singh
	recruit_character = RAJ_GOE_ishar_singh
	recruit_character = RAJ_GOE_parkash_singh
	recruit_character = RAJ_GOE_muhammad_ali_jinnah
	recruit_character = RAJ_GOE_arcot_doraiswamy_loganadan
	recruit_character = RAJ_GOE_shah_nawaz_khan
	recruit_character = RAJ_GOE_ukkirapandi_muthuramalinga_thevar
	recruit_character = RAJ_GOE_rash_behari_bose
	recruit_character = RAJ_GOE_rajendrasinhji_jadeja 
	recruit_character = RAJ_GOE_mohammad_usman
	recruit_character = RAJ_GOE_kodandera_subayya_thimayya
	recruit_character = RAJ_GOE_sam_manekshaw
	recruit_character = RAJ_GOE_muhammad_ayub_khan
	recruit_character = RAJ_GOE_yahya_khan
	recruit_character = RAJ_GOE_montagu_stopford
	recruit_character = RAJ_GOE_mohammed_zaman_kiani
	recruit_character = RAJ_GOE_subcontinent_chaos
	recruit_character = RAJ_GOE_the_board_of_directors
	recruit_character = RAJ_GOE_sarat_bose 
	recruit_character = RAJ_freeman_freeman_thomas
	recruit_character = RAJ_jim_corbett
	recruit_character = RAJ_puran_chand_joshi
	recruit_character = RAJ_bhalchandra_trimbak_ranadive
	recruit_character = RAJ_elamkulam_manakkal_sakaran_namboodiripad
	recruit_character = RAJ_shripad_amrit_dange
	recruit_character = RAJ_sahajanand_saraswati
	recruit_character = RAJ_GOE_g_d_birla
	recruit_character = RAJ_GOE_j_r_d_tata
	recruit_character = RAJ_GOE_william_rhodes_davis
	recruit_character = RAJ_GOE_prescott_bush
	recruit_character = RAJ_GOE_m_n_roy
	recruit_character = RAJ_mirza_khurshid_jah_bahadur
	recruit_character = RAJ_GOE_mughal_army_command_1
	recruit_character = RAJ_GOE_mughal_army_command_2
	recruit_character = RAJ_GOE_mughal_army_command_3
	recruit_character = RAJ_GOE_mughal_army_command_4
	recruit_character = RAJ_GOE_mughal_army_command_5
	recruit_character = RAJ_GOE_mughal_theorist
	recruit_character = RAJ_GOE_mughal_navy_guy
	recruit_character = RAJ_GOE_mughal_air_guy
	recruit_character = RAJ_intel_generic
	recruit_character = RAJ_cap_industry_mughal
	recruit_character = RAJ_mughal_industrialist
	recruit_character = RAJ_silent_mughal
	recruit_character = RAJ_backroom_mughal
	recruit_character = RAJ_abdul_ghaffar_khan
	recruit_character = RAJ_GOE_muhammad_musa
	
	else = {
		recruit_character = RAJ_karam_singh_mann
	}
}


set_variable = { RAJ_agrarian_society_increment = 0.05 }
set_variable = { RAJ_war_support_increased = 0 }
set_variable = { RAJ_hindu_mahasabha_released = 0.04 }
set_variable = { RAJ_hindu_mahasabha_counter = 0 }

if = {
	limit = {
		has_dlc = "Together for Victory"
	}
	recruit_character = RAJ_homi_j_bhabha
	recruit_character = RAJ_lakshmi_sahgal
	recruit_character = RAJ_orde_wingate
	recruit_character = RAJ_kodandera_madappa_cariappa
	recruit_character = RAJ_kodandera_subayya_thimayya
	recruit_character = RAJ_jayanto_nath_chaudhuri
}



if = {
	limit = {
		not = { has_dlc =  "Man the Guns" }
	}
	set_technology = {
		transport = 1
	}
}

if = {
	limit = {
		has_dlc = "Man the Guns"
	}
	set_technology = {
		mtg_transport = 1
	}
}

if = {
	limit = {
		has_dlc = "Battle for the Bosporus"
	}
	set_technology = { camelry = 1 }
}

if = {
	limit = { 
		has_dlc = "Together for Victory" 
		
	}

	if = {
		limit = { NOT = { has_dlc = "Graveyard of Empires" } }
		add_ideas = RAJ_agrarian_society
		
	}

	add_ideas = {
		RAJ_princely_states
		RAJ_marginalized_muslim_community
		RAJ_risk_of_famine
	}

	add_to_tech_sharing_group = commonwealth_research
}

if = {
	limit = {
		has_dlc = "Graveyard of Empires"
	}
	add_dynamic_modifier = { modifier = idea_RAJ_agrarian_society } 		
	set_variable = { RAJ_agrarian_society_conscription_factor = -0.72 } #3
	set_variable = { RAJ_agrarian_society_mobilization_laws_cost_factor = 2.16 } #9
	set_variable = { RAJ_agrarian_society_mobilization_speed = -0.72 } #3
	add_ideas = idea_RAJ_great_depression_1

}





# Starting tech
set_technology = {
	infantry_weapons = 1
	gw_artillery = 1
	interwar_antiair = 1
	interwar_antitank = 1
	basic_train = 1
	motorised_infantry = 1
	tech_support = 1
	basic_train = 1
	tech_trucks = 1 
}
add_equipment_to_stockpile = { type = train_equipment_1 amount = 75 producer = GER }

if = {
	limit = {
		has_dlc = "Battle for the Bosporus"
	}
	set_technology = { camelry = 1 }
}
if = {
	limit = { has_dlc = "By Blood Alone" }
		set_technology = {
			aa_lmg = 1
			engines_1 = 1
			early_bombs = 1
			aircraft_construction = 1
			iw_small_airframe = 1
			iw_medium_airframe = 1
		}
	create_equipment_variant = {
		name = "Hawker Fury" 
		type = small_plane_airframe_0
		modules = {
			fixed_main_weapon_slot = light_mg_2x
			engine_type_slot = engine_1_1x
			special_type_slot_1 = empty
		}
	}
	create_equipment_variant = {
		name = "Handley Page Heyford"
		type = medium_plane_airframe_0
		modules = {
			fixed_main_weapon_slot = medium_bomb_bay
			fixed_auxiliary_weapon_slot_1 = empty
			fixed_auxiliary_weapon_slot_2 = empty
			fixed_auxiliary_weapon_slot_3 = empty
			engine_type_slot = engine_1_2x
			special_type_slot_1 = lmg_defense_turret
			special_type_slot_2 = lmg_defense_turret
			special_type_slot_3 = empty
			special_type_slot_4 = empty
		}
	}	
	else = {
		set_technology = {
			early_fighter = 1
			early_bomber = 1
		}
	}
}	

if = {
	limit = {
		NOT = { has_dlc = "No Step Back" }
	}
	set_technology = { 
		gwtank = 1
	}
}

if = {
	limit = {
		has_dlc = "No Step Back"
	}
	set_technology = { 
		gwtank_chassis = 1
		
	}
}

if = {
	limit = {
		has_dlc = "Man the Guns"
	}
	set_technology = {
		basic_naval_mines = 1
		early_ship_hull_light = 1
		early_ship_hull_cruiser = 1
		basic_battery = 1
		basic_dp_light_battery = 1
		basic_torpedo = 1
		coastal_defense_ships = 1
	}
}
if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	set_technology = {
		early_destroyer = 1
		early_light_cruiser = 1
	}
}

if = {
	limit = { has_dlc = "Man the Guns" }
	# Destroyers #
	create_equipment_variant = {
		name = "Savarkar Class"			
		type = ship_hull_light_1
		name_group = RAJ_DD_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = dp_light_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_1
			fixed_ship_torpedo_slot = ship_torpedo_1
			mid_1_custom_slot = empty
			rear_1_custom_slot = empty
		}
	}
	# Light Cruisers #
	create_equipment_variant = {
		name = "Sitaramayya Class"					
		type = ship_hull_cruiser_1
		name_group = RAJ_CL_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_medium_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_armor_slot = ship_armor_cruiser_1
			fixed_ship_secondaries_slot = dp_ship_secondaries_1
			mid_1_custom_slot = ship_torpedo_1
			mid_2_custom_slot = empty
			rear_1_custom_slot = ship_airplane_launcher_1
		}
	}
	# Costal Defense #
	create_equipment_variant = {
		name = "Krishna Class"
		type = ship_hull_cruiser_coastal_defense_ship
		name_group = RAJ_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_heavy_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_armor_slot = ship_armor_cruiser_1
			fixed_ship_secondaries_slot = dp_ship_secondaries_1
			mid_1_custom_slot = dp_ship_secondaries_1
			mid_2_custom_slot = empty
			rear_1_custom_slot = empty
		}
	}
}





if = {
	limit = {
		has_dlc = "La Resistance"
	}
	set_technology = {
		armored_car1 = 1
	}
}

set_convoys = 100
set_research_slots = 4
set_stability = 0.6
set_war_support = 0.1
add_political_power = 2000
add_manpower = 50000
add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 10000 }


set_popularities = {
	democratic = 25
	fascism = 25
	communism = 25
	neutrality = 25
}


if = {
	limit = { has_dlc = "Together for Victory" }

	add_ideas = {
		RAJ_princely_states
		RAJ_marginalized_muslim_community
		RAJ_agrarian_society
		RAJ_risk_of_famine
	}

	add_to_tech_sharing_group = commonwealth_research
}


set_cosmetic_tag = RAJ_UK # British Raj

1939.1.1 = {
	
	if = {
		limit = {
			has_dlc = "Together for Victory"
		}
		complete_national_focus = RAJ_lessons_of_the_great_war
		complete_national_focus = RAJ_vickers_berthier_gun
		complete_national_focus = RAJ_army_motorization
		complete_national_focus = RAJ_british_pilot_training
		complete_national_focus = RAJ_great_indian_peninsula_railway
		complete_national_focus = RAJ_east_india_railways
		complete_national_focus = RAJ_found_scindia_shipyard
		complete_national_focus = RAJ_industrial_expansion
		complete_national_focus = RAJ_ishapore_arsenal
	}


	add_ideas = {
		#laws
		volunteer_only
		low_economic_mobilisation
	}

}

set_politics = {
	ruling_party = neutrality
	last_election = "1935.11.14"
	election_frequency = 48
	elections_allowed = no
}


if = {
	limit = {
		has_dlc = "La Resistance"
	}
	create_operative_leader = {
		name = "Noor Inayat Khan"
		GFX = GFX_portrait_noor_inayat_khan
		traits = {  }
		bypass_recruitment = no
		available_to_spy_master = yes
		female = yes
		nationalities = { RAJ }
	}
}
